package com.yunyi.model.mappers.worker;

import com.yunyi.model.worker.WorkerInfo;
import com.yunyi.model.worker.dto.WorkOrderInfo;
import com.yunyi.model.worker.dto.WorkTimeDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName UserInfoMapper
 * @Description 用户基础信息Mapper
 * @Author leizhang
 * Date 2021/8/16 4:50 下午
 * @Version 1.0
 **/
@Mapper
public interface WorkerInfoMapper {
    /**
     * @Description :用户基础信息获取
     * @Author : leizhang
     * @Date 4:52 下午 2021/8/16
     * @param requestParam
     * @return java.util.List<com.yunyi.model.user.UserInfo>
     **/
    List<WorkTimeDto> getWorkerInfo(@Param("requestParam") Map<String,Object> requestParam);

    /**
     * @Description : 用户信息注册
     * @Author : leizhang
     * @Date 10:22 下午 2021/8/16
     * @param requestParam
     * @return void
     **/
    int saveWorkerInfo(@Param("requestParam") Map<String,Object> requestParam);

    /**
     * @Description : 员工信息修改
     * @Author : leizhang
     * @Date 12:51 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    void updateWorkerInfo(@Param("requestParam") Map<String,Object> requestParam);
    /**
     * @Description : 员工信息获取By status
     * @Author : leizhang
     * @Date 12:51 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
   List<WorkOrderInfo> getWorkerInfoByStatus(@Param("requestParam") Map<String,Object> requestParam);

    /**
     * @Description : 员工信息获取By status
     * @Author : leizhang
     * @Date 12:51 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    List<WorkOrderInfo> getWorkerInfoByStatusOf2(@Param("requestParam") Map<String,Object> requestParam);
}
